package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: LiuLi
 * @Date: 2025/08/23 11:24
 * @Description:
 */
@Data
@ApiModel("设备上报数据响应模型")
public class DeviceReportedVo {

    @ApiModelProperty(value = "数据名称")
    private String functionId;

    @ApiModelProperty(value = "上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime eventTime;

    @ApiModelProperty(value = "数据值")
    private Object value;
}
